package org.jeecg.modules.nikeProject.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class CaseCompareScore implements Comparable<CaseCompareScore> {
    @ApiModelProperty(name = "当前案例ID")
    private String projectId;

    @ApiModelProperty(name = "历史案例ID")
    private String hisProjectId;

    @ApiModelProperty(name = "重复率")
    private double repetitionRate;

    public int compareTo(CaseCompareScore other) {
        return Double.compare(this.repetitionRate, other.repetitionRate);
    }
}
